package com.itheima.health.service;

/**
 * 短信SERVICE
 */
public interface SmsService {
    /**
     * @Author: Blackie
     * @Date: 9:45 2021/1/12
     * @Parms [type, telephone] 使用的场景 电话号码
     * @ReturnType: void
     * @Description: 发送验证码
     */
    void sendValidateCode(String type, String telephone, Integer countSend);

    /**
     * @Author: Blackie
     * @Date: 19:13 2021/1/19
     * @Parms [type, telephone, code, count]
     * @ReturnType: boolean
     * @Description: 验证码校验
     */
    Integer checkValidateCode(String type, String telephone, String code, Integer count);


}
